paperSize

public abstract T paperSize(PaperSize paperSize)

Configures the paper size for printing.

Return

this instance

Parameters

paperSize

the new paper size value

See also

Throws

if the current printing operation has been completed


public abstract PaperSize paperSize()

Returns the paper size used by the printer.

Throws

if the current printing operation has been completed